~g2fk;
    /******************************************************************************
     Module: AWIN-CAPI.TXT
             All commands for PPLA in Dynamic Link Library for Windows
    Notices: Copyright (c) 1998-2006 ARGOIMPREX
    Version: 3.04AW 2006/02/15
    ******************************************************************************/
    ؿ
    ===============================================================================
	A_Bar2d_Maxi()		=> LX@ Maxi Code 2D BarcodeC
	A_Bar2d_Maxi_Ori()	=> LX@ Maxi Code 2D BarcodeAtਤסC
	A_Bar2d_PDF417()	=> LX@ PDF-417 2D BarcodeC
	A_Bar2d_PDF417_Ori()	=> LX@ PDF-417 2D BarcodeAtਤסC
	A_Bar2d_DataMatrix()	=> LX@ DataMatrix 2D Barcode
	A_Clear_Memory()	=> M Printer  RAM  Flash Memory ơC
	A_ClosePrn()		=>  Printer u@C
	A_CreatePrn()		=> } Printer u@C
	A_Del_Graphic()		=> RxsbL RAM  Flash Memory ϧΡC
	A_Draw_Box()		=> e@ӮءC
	A_Draw_Line()		=> e@uC
	A_Feed_Label()		=> e@iҡC
	A_Get_DLL_Version()	=> oΨqXƮwTC
	A_Get_DLL_VersionA()	=> oΨqXƮwTC
	A_Get_Graphic()		=> CL@ӹϧΨñNϧxsbL RAM 
                                 Flash MemoryC
	A_Get_Graphic_ColorBMP()=> ഫ BMP ɱmܦǶAñNϧxsbL
                                 RAM  Flash MemoryC
	A_Initial_Setting()	=> emBzC
	A_Load_Graphic()	=> CL@ӹϧΡC
	A_Open_ChineseFont()	=> }ҨϥΤIx}rɮ (16*15 M 24*24)C    
	A_Print_Form()		=> CL@ FORM ()AÿJ FORM W١Aó]we
                                ҩMƻPCLơC
	A_Print_Out()		=> XҦƨó]weΰҩMƻPCLơC
	A_Prn_Barcode()		=> LX@ӱXC
	A_Prn_Text()		=> LX@rC
	A_Prn_Text_Chinese()	=> LX@rAϥΤIx}rɮ (16*15  24*24)C
	A_Prn_Text_TrueType()	=> LX@ True Type Font rC
	A_Prn_Text_TrueType_W()	=> LX@ True Type Font rAñreΰC
	A_Set_Backfeed()	=> Ҧ^mC
	A_Set_BMPSave()		=> xsvɡC
	A_Set_Cutting()		=> ]wwLXXiM@C
	A_Set_Darkness()	=> ]wPYCLסC
	A_Set_DebugDialog()	=> ]wҡC
	A_Set_Feed()		=> ]wүȰeXtסC
	A_Set_Form()		=> xsæCL FORM ()C
	A_Set_Margin()		=> ]w}lCLmMťժŶC
	A_Set_Prncomport()	=> ]wLǦCC
	A_Set_Prncomport_PC()	=> ]w PC ǦCC
	A_Set_Sensor_Mode()	=> ]w SENSOR ҦγsȼҦC
	A_Set_Speed()		=> ]wCLtסC
	A_Set_Syssetting()	=> ]wLҦBҰ Cutter  PeelB]w
                                ҳ̪סB slash zero  normal zeroB]
                                wCL@iȰ@C
	A_Set_Unit()		=> ]w׶q쬰^TΤءC
	A_Set_Gap()		=> ]w Gap Z
	A_Set_Logic()		=> ]wϥե\
	A_Set_ProcessDlg()	=> }ҩi׹ܮ
	A_Set_LabelVer()	=> ]wȱie (For R400)
	A_GetUSBBufferLen()	=> d USB ƪ
	A_EnumUSB()			=> o USB 𪺸
	A_CreateUSBPort()	=> ϥ USB iǿ

    *******************************************************************************
    `Nƶ
    ===============================================================================
    ϥΤkG1.N WINPPLA.DLL [J \\Windows\system\  \\???\ 椤|A
                ~QjMC
	      2.HUdҬ Visual C++ d,L{y@wۦP

    *******************************************************************************
    A_GetUSBBufferLen()
	A_EnumUSB()
    ===============================================================================
	\G	o USB Printer ơC

	ykG	int A_GetUSBBufferLen();
			int A_EnumUSB(char *buf);

	ѼơG	char *buf;	xs USB Printer ơC


	Ǧ^ȡG	A_GetUSBBufferLen(); Ǧ^ USB ƪ
				A_EnumUSB()	0 -> OK.
							Reference AW-Error.txt file.

	dҡG	char *buf;
			int	nLen = A_GetUSBBufferLen()+1;
			buf = malloc(nLen);
			memset(buf, 0, nLen);
			A_EnumUSB(buf);

	G	oӨƬO@ժơC A_GetUSBBufferLen() o USB ǿ𪺸
			, MAtO鵹 A_EnumUSB() xs USB 𪺸ơCUSB 𪺸ƬOH
			("0x0d0x0a")j,|Ҩӻ, pGƬO A-200(0x0d)(0x0a)R-400ZIP 
			 USB1 O A-200, USB2 O R-400ZipC

    *******************************************************************************
    A_CreatePrn()
	A_CreateUSBPort()
    ===============================================================================
	\G	} PPLA Library u@C

	ykG	int A_CreatePrn(int selection,LPCTSTR filename);
			int A_CreateUSBPort(int nPort);

	ѼơG	int	selection;		ܿXɮסC
								0 -> print to file.
								1 -> lpt1, 2 -> lpt2, 3 -> lpt3
								4 -> com1, 5 -> com2, 6 -> com3
								10 -> net
					 
			LPCTSTR	filename;	 selection eO 0 ɡAƫhX
								ɮסAɦWNO filename eάO NULLA
								it|C selection eO 10 ɡA
								filename X|C
			int	nPort;			 USB ǿ

	Ǧ^ȡG0 -> OK.
		Reference AW-Error.txt file.

	dҡG	A_CreatePrn(1,NULL);  A_CreatePrn(0,"C:\TEMP\out.prn");
			A_CreatePrn(10,"\\allen\Label");  A_CreateUSBPort(1);

	G	A_CreatePrn M A_CreateUSBPort Ʒ|}ҧAܪXζ}ҧAJ
			XɡCӳoӨƥbҦƤeC
		A_CreatePrn M A_CreateUSBPort PɨϥΡC

	*******************************************************************************
    A_ClosePrn()
    ===============================================================================
      \G   A_Printer u@C

      ykG  void A_ClosePrn(void);

      dҡG  A_ClosePrn();

    @G  o A_ClosePrn Ʒ|AܪXA}ҪXɡCӳo
              ӨƥbҦƤC

    *******************************************************************************
    A_Bar2d_Maxi()
    A_Bar2d_Maxi_Ori()
    ===============================================================================
      \G  LX@ Maxi Code 2D BarcodeC

      ykG  int A_Bar2d_Maxi(int x,int y,long int primary,int secondary,int country,
                               int service,char mode,int numeric,LPCTSTR data);
              int A_Bar2d_Maxi_Ori(int x,int y,int ori,long int primary,int secondary,
                                   int country,int service,char mode,int numeric,
                                   LPCTSTR data);

      ѼơG  int      x;                X yСC (100 = 1 inch)
              int      y;                Y yСC
              int      ori;              CLVwA1:0X  B2:90XB
                                                         3:180XB4:270X
              long int primary;          A 5- primary zip code.
              int      secondary;        A 4- secondary zip code.
              int      country;          A 3- country code.
              int      service;          A 3- service code.
              char     mode;             [\ApUG
                                           
                                           xmodex     \໡     x
                                           
                                           x A  xƦr۰ʼW[x
                                           uwwqwwwwwwwwwt
                                           x B  xr۰ʼW[x
                                           uwwqwwwwwwwwwt
                                           x C  xƦr۰ʴָx
                                           uwwqwwwwwwwwwt
                                           x D  xr۰ʴָx
                                           uwwqwwwwwwwwwt
                                           x T  xܲ׵r      x
                                           uwwqwwwwwwwwwt
                                           x N  xL\      x
                                           |wwrwwwwwwwww}
              int      numeric;          ۰ʼW[δָqCdG0~99
                                           [\ɦ쥲sbC
              LPCTSTR  data;             ƦrA̦h84ӦrC

    Ǧ^ȡG  0    -> OK.
              Reference AW-Error.txt file.

      dҡG  A_Bar2d_Maxi(100,200,32987,444,40,55,'n',2,"TO 123");
			  A_Bar2d_Maxi_Ori(100,200,0,32987,444,40,55,'n',2,"TO 123");
    
    @G  o A_Bar2d_Maxi ƥiHCLX@ Maxi Code 2D BarcodeC

    *******************************************************************************
    A_Bar2d_PDF417()
    A_Bar2d_PDF417_Ori()
    ===============================================================================
      \G  LX@ PDF-417 2D BarcodeC

      ykG  int A_Bar2d_PDF417(int x,int y,int narrow,int width, char normal,
                                 int security,int aspect,int row,int column,
                                 char mode,int numeric,LPCTSTR data);
              int A_Bar2d_PDF417_Ori(int x,int y,int ori,int narrow,int width,
                                     char normal,int security,int aspect,int row,
                                     int column,char mode,int numeric,LPCTSTR data);

      ѼơG  int    x;                  X yСC(100 = 1 inch)
              int    y;                  Y yСC
              int    ori;                CLVwA1:0X  B2:90XB
                                                         3:180XB4:270X
              int    narrow;             NARROW bar eסAd 024C
              int    width;              WIDE bar eסAd 024C
              char   normal;             F:normal, T:truncated.
              int    security;           08:security level.
              int    aspect;             099:aspect ratio,0 stands for 1:2.
              int    row;                390:row number,0 for best fit.
              int    column;             130:column number,0 for best fit.
              char   mode;               [\ApUG
                                           
                                           xmodex     \໡     x
                                           
                                           x A  xƦr۰ʼW[x
                                           uwwqwwwwwwwwwt
                                           x B  xr۰ʼW[x
                                           uwwqwwwwwwwwwt
                                           x C  xƦr۰ʴָx
                                           uwwqwwwwwwwwwt
                                           x D  xr۰ʴָx
                                           uwwqwwwwwwwwwt
                                           x T  xܲ׵r      x
                                           uwwqwwwwwwwwwt
                                           x N  xL\      x
                                           |wwrwwwwwwwww}
              int    numeric;            ۰ʼW[δָqCdG099
                                           [\ɦ쥲sbC
                                            mode  T ɡAd׵r(Qi)C
              LPCTSTR   data;            ƦrC

    Ǧ^ȡG  0    -> OK.
              Reference AW-Error.txt file.

      dҡG  A_Bar2d_PDF417(260,0,0,0,'f',0,0,10,2,'b',1,"ARGOXINFO");
              A_Bar2d_PDF417_Ori(260,0,0,0,'f',0,0,10,2,'T',64,"ARGOXINFO\nData 12345\nData 444");

    @G  o A_Bar2d_PDF417 ƥiHCLX@ PDF-417 2D BarcodeC

    *******************************************************************************
    A_Bar2d_DataMatrix()
    ===============================================================================
      \G  LX@ DataMatrix Code 2D BarcodeC

      ykG  int A_Bar2d_DataMatrix(int x, int y,int rotation,int hor_mul,
			int ver_mul,int ECC,int data_format,int num_rows,int num_col,
			char mode,int numeric,LPCTSTR data);

      ѼơG	int	x;		X yСC (100 = 1 inch)
		int	y;		Y yСC
		int	rotation;	CLVwA1:0XB2:90XB3:180XB4:270X
		int	hor_mul;	jơC
		int	ver_mul;	jơC
			hor_mul,ver_mul : 1 ~ 24
		int	ECC;		šCTw:200
		int	data_format;	ƤCTw:0
		int	num_rows;	row number
		int	num_col;	column number
			num_rows,num_col value : 10,12,14,16,18,20,22,24,26,32,36,
					40,44,,48,52,64,72,80,88,96,104,120,132,144	
              char     mode;             [\ApUG
                                           
                                           xmodex     \໡     x
                                           
                                           x A  xƦr۰ʼW[x
                                           uwwqwwwwwwwwwt
                                           x B  xr۰ʼW[x
                                           uwwqwwwwwwwwwt
                                           x C  xƦr۰ʴָx
                                           uwwqwwwwwwwwwt
                                           x D  xr۰ʴָx
                                           uwwqwwwwwwwwwt
                                           x T  xܲ׵r      x
                                           uwwqwwwwwwwwwt
                                           x N  xL\      x
                                           |wwrwwwwwwwww}
              int      numeric;          ۰ʼW[δָqCdG0~99
                                           [\ɦ쥲sbC
              LPCTSTR  data;             ƦrC

    Ǧ^ȡG  0    -> OK.
              Reference AW-Error.txt file.

      dҡG  A_Bar2d_DataMatrix(100,100,1,8,8,200,0,24,24,'n',2,"DATAMATRIX");
    
    @G  o A_Bar2d_DataMatrix ƥiHCLX@ DataMatrix 2D BarcodeC

    *******************************************************************************
    A_Clear_Memory()
    ===============================================================================
      \G  M Printer  RAM  Flash Memory ơC

      ykG  void A_Clear_Memory(void);

      dҡG  A_Clear_Memory();

    @G  o A_Clear_Memory ƲM Printer  RAM  Flash Memory ϧ
              BnrΡC]ϧΡBrη|@ֿnb memory y overflowA`
              ɨƶb Print_Out() eeXCӷ memory ROAPrinter N
              |ReJϧΩMrΡAקKoͤRAb
              A_Print_Out() eeXC

    *******************************************************************************
    A_Del_Graphic()
    ===============================================================================
      \G  RxsbL RAM  Flash Memory ϧΡC

      ykG  int A_Del_Graphic(int mem_mode,char graphic[10]);

      ѼơG  int    mem_mode;           OҦA 1 => RAM
                                                        2 => Flash Memory 
              char   graphic[10];        ϧΦW١A̦h 9 ӦrC
                                           
    Ǧ^ȡG  0    -> OK.
              Reference AW-Error.txt file.

      dҡG  A_Del_Graphic(1,"AA");

    @G  o A_Del_Graphic Ʒ|RxsbL RAM  Flash Memory ϧΡA
              AJϧΦW١CARANA٭AiHsJC

    *******************************************************************************
    A_Draw_Box()
    ===============================================================================
      \G  e@ӮءC

      ykG  int A_Draw_Box(char mode,int x,int y,int width,int height, int top,
                             int side);

      ѼơG  char   mode;               ]w޿ OR  XOR \CA:XORBN:OR
                                           @O XOR ﶵC
              int    x;                  X yСC
              int    y;                  Y yСC
              int    width;              wتeסAdG09999C
              int    height;             wتסAdG09999C
              int    top;                wتΩupסA
                                           dG09999C
              int    side;               wبⰼupסAdG09999

    Ǧ^ȡG  0    -> OK.
              Reference AW-Error.txt file.

      dҡG  A_Draw_Box('n',260,30,130,105,4,4);

    @G  o A_Draw_Box Ʒ|e@ݩʬO "OR"  "XOR" ءC

    *******************************************************************************
    A_Draw_Line()
    ===============================================================================
      \G  e@uC

      ykG  int A_Draw_Line(char mode,int x,int y,int width,int height);

      ѼơG  char   mode;               ]w޿ OR  XOR \CA =>XORBN =>OR
                                           @O XOR ﶵC
              int    x;                  X yСC
              int    y;                  Y yСC
              int    width;              wueסAdG09999C
              int    height;             wuסAdG09999C

    Ǧ^ȡG  0    -> OK.
              Reference AW-Error.txt file.

      dҡG  A_Draw_Line('a',285,77,2,30);

    @G  o A_Draw_Line Ʒ|e@ݩʬO "OR"  "XOR" uC

    *******************************************************************************
    A_Feed_Label()
    ===============================================================================
      \G  e@iҡC

      ykG  void A_Feed_Label(void);

      dҡG  A_Feed_Label();

    @G  o A_Feed_Label ƷO]wsȮɡAN|R@iҤ@Q
              ˴X gap CO]wsȮɡA|R@iTwתҡC
              WAoƷNP "Feed" @ˡC

    *******************************************************************************
    A_Get_DLL_Version()
	A_Get_DLL_VersionA()
    ===============================================================================
      \G  oΨqXƮwTC

      ykG  char* A_Get_DLL_Version(int nShowMessage); 
			  int A_Get_DLL_VersionA(int nShowMessage); 

      ѼơG  int    nShowMessage;       T{C0 -> {B1 -> {C

    Ǧ^ȡG  A_Get_DLL_Version() -> Ǧ^TrAѫhǦ^ NULLC
			  A_Get_DLL_VersionA() -> return version value.

      dҡG  A_Get_DLL_Version(1);

    @G  o A_Get_DLL_Version ơAϥΪ̨oΨqXƮwTC

    *******************************************************************************
    A_Get_Graphic()
    ===============================================================================
      \G  CL@ӹϧΨñNϧxsbL RAM  Flash MemoryC

      ykG  int A_Get_Graphic(int x,int y,int mem_mode,char format,LPCTSTR filename);

      ѼơG  int    x;                  X yСC
              int    y;                  Y yСC
              int    mem_mode;           OҦA 1 => RAM
                                                            2 => Flash Memory 
              char   format;             ϧɮ榡ApUG
                                       
                                       xformatx      ϧɮ榡      xVx
                                       
                                       x   B  x 8-bit BMP file formatx  x
                                       uwwwqwwwwwwwwwwwqwwt
                                       x   b  x 8-bit BMP file formatx  x
                                       uwwwqwwwwwwwwwwwqwwt
                                       x   I  x 8-bit IMG file formatx  x
                                       uwwwqwwwwwwwwwwwqwwt
                                       x   i  x 8-bit IMG file formatx  x
                                       uwwwqwwwwwwwwwwwqwwt
                                       x   P  x 8-bit PCX file formatx  x
                                       uwwwqwwwwwwwwwwwqwwt
                                       x   p  x 8-bit PCX file formatx  x
                                       |wwwrwwwwwwwwwwwrww}
              LPCTSTR filename         ϧɦW١Ait|C
                                           榡pGXXXXXXXX.XXX  X:\XXX\XXX.XXX

    Ǧ^ȡG  0    -> OK.
              Reference AW-Error.txt file.

      dҡG  A_Get_Graphic(275,50,1,'B',"bb.bmp");

    @G  o A_Get_Graphic Ʒ|CL@ӹϧΨñNϧxsbL RAM 
               Flash MemoryC

    *******************************************************************************
    A_Get_Graphic_ColorBMP()
    ===============================================================================
      \G  ഫ BMP ɱmܦǶAñNϧxsbL RAM  Flash MemoryC

      ykG  int A_Get_Graphic_ColorBMP(int x,int y,int mem_mode,char format,
                                       LPCTSTR filename);

      ѼơG  int    x;                  X yСC
              int    y;                  Y yСC
              int    mem_mode;           OҦA 1 => RAM
                                                            2 => Flash Memory
              char   format;             ϧɮ榡ApUG
                                           
                                           xformatxϧɮ榡xVx
                                           
                                           x   B  xBMP formatx  x
                                           uwwwqwwwwwqwwt
                                           x   b  xBMP formatx  x
                                           |wwwrwwwwwrww}
              LPCTSTR filename           ϧɦW١Ait|C
                                           榡pGXXXXXXXX.XXX  X:\XXX\XXX.BMP
    Ǧ^ȡG  0    -> OK.
              Reference AW-Error.txt file.

      dҡG  A_Get_Graphic_ColorBMP(30,20,1,'B',"girl.bmp");

    @G  o A_Get_Graphic_ColorBMP ƥiJC BMP ɡAæ۰ഫ
              ¥զǶɰeܦLCLAഫ~ Windows's Driver for Dr.200
              or Dr.300 վAҥHϥΪ̥ݦw ARGOX DriverALw]LA
              Y default printer O Dr.200  Dr.300 A{۰ʷjM Windows A
              O_ Dr.200  Dr.300AA̧ǨϥΡCϧxsbL RAM 
              Flash MemoryC

    *******************************************************************************
    A_Initial_Setting()
    ===============================================================================
      \G  emBzC

      ykG  int A_Initial_Setting(int Type,LPCTSTR Source);

      ѼơG  int       Type;            ܿJҦAȬ 0 -> JrA
                                                              1 -> JɮסC
              LPCTSTR   Source;          ƨӷAirɮצW١Ait|C
                                           
    Ǧ^ȡG  0    -> OK.
              Reference AW-Error.txt file.

      dҡG  LPCTSTR aa = "ZT\r\n\0"; A_Initial_Setting(0,aa);
              or
              A_Initial_Setting(1,"initfile.txt");

    @G  o A_Initial_Setting ƫemBzʧ@AON@ Command eܦL
              AѦrɮ׿JAbϥγoӨƮɡAb A_Create_Prn() L
              ƤeAi@ϥΪ̦ۭqAC

    *******************************************************************************
    A_Load_Graphic()
    ===============================================================================
      \G  CL@ӹϧΡC

      ykG  int A_Load_Graphic(int x,int y,char graphic_name[10]);

      ѼơG  int    x;                  X yСC
              int    y;                  Y yСCƵG1 dot = 0.125 mmC
              char   graphic_name[10];   ϧɦWٳ̤j9ӦrC

    Ǧ^ȡG  0    -> OK.
              Reference AW-Error.txt file.

      dҡG  A_Load_Graphic(265,35,"AB");

    @G  o A_Load_Graphic Ʒ|CL@ӤeJLɡAӹϧΥƥJL
               RAM  flash memory xsC

    *******************************************************************************
    A_Open_ChineseFont()
    ===============================================================================
      \G  }ҨϥΤIx}rɮ (16*15 M 24*24)C

      ykG  int A_Open_ChineseFont(char* path);

      ѼơG  char*  path;               Ix}rɮרӷ|C

    Ǧ^ȡG  0    -> OK.
              Reference AW-Error.txt file.

      dҡG  A_Open_ChineseFont("C:\\ET3");

    @G  o A_Open_ChineseFont ƶ}ҤIx}rɮ (16*15 M 24*24)A
               A_Prn_Text_Chinese ƨϥΡC

    *******************************************************************************
    A_Print_Form()
    ===============================================================================
      \G  CL@ FORM ()AÿJ FORM W١Aó]weΰҩM
              ƻPCLơC

      ykG  int A_Print_Form(int width,int height,int copies,int amount,
                               LPTSTR form_name);

      ѼơG  int    width;              eAdG1  2C
              int    height;             AdG1B2  3C
              int    copies;             AQCLơAdG19999C
              int    amount;             wƦrN|ϨC@LXiA
                                           dG199C
              LPTSTR form_name;          J FORM W١Ai@өΦhӤ@_A
                                                    ","̧ǤOϹj}C
    Ǧ^ȡG  0    -> OK.
              Reference AW-Error.txt file.

      dҡG  A_Print_Form(1,1,1,1,"demo");

    @G  o A_Print_Form Ʒ|eҦƤΪ PrinterAoӨƨϥΫe
               A_Set_Form()AæbҦƤAA_ClosePrn() eC
              ΦƮɡAN A_Print_Out()C
              o width M height ѼơAO]wePҡCҳ]̤jɡA
              ϧΥi|]jӥX{C

    ***************************************************************************
    A_Print_Out()
    ===========================================================================
      \G  XҦƨó]weΰҩMƻPCLơC

      ykG  int A_Print_Out(int width,int height,int copies,int amount);

      ѼơG  int    width;              eAdG1  2C
              int    height;             AdG1B2  3C
              int    copies;             AQCLơAdG19999C
              int    amount;             wƦrN|ϨC@LXiA
                                           dG199C
    Ǧ^ȡG  0    -> OK.
              Reference AW-Error.txt file.

      dҡG  A_Print_Out(1,1,3,1);

    @G  o A_Print_Out Ʒ|eҦƨ PrinterAoӨƨϥζbҦ
              ƤAA_ClosePrn() eC
              o width M height ѼơAO]wePҡCҳ]̤jɡA
              ϧΥi|]jӥX{Co amount ѼƫwƦrN|ϸ
              \ACCLXiδ@C

    *******************************************************************************
    A_Prn_Barcode()
    ===============================================================================
      \G  LX@ӱXC

      ykG  int A_Prn_Barcode(int x,int y,int ori,char type,int narrow,int width,
                                int height,char mode, int numeric,LPTSTR data);

      ѼơG  int    x;                  X yСC
              int    y;                  Y yСC
              int    ori;                CLVwA1:0X  B2:90XB
                                                         3:180XB4:270X
              char   type;               Bar code BpUG
    
    x  X  x ƪ x˴xܸƢxøƢx ݩ x X x
    x            x          xX  x(type)  x(type)  x          x  x
    
    xCode 3 of 9 xvariable  xno  x'A'     x'a'     x09,AZ,x2:1 x
    x            x          x    x        x        x$%*+-./andx3:1   x
    x            x          x    x        x        xspace     x@@  x
    uwwwwwwqwwwwwqwwqwwwwqwwwwqwwwwwqwwwt
    xUPC-A       x12 digis  xyes x'B'     x'b'     x09      x2:3:4 x
    x            x(11+1)    x    x        x        x          x      x
    uwwwwwwqwwwwwqwwqwwwwqwwwwqwwwwwqwwwt
    xUPC-E       x7 digis   xyes x'C'     x'c'     x09      x2:3:4 x
    x            x(6+1)     x    x        x        x          x      x
    uwwwwwwqwwwwwqwwqwwwwqwwwwqwwwwwqwwwt
    xInterleaved xvariable  xno  x'D'     x'd'     x09      x2:1 x
    x2 of 5 (I25)x          x    x        x        x          x3:1   x
    uwwwwwwqwwwwwqwwqwwwwqwwwwqwwwwwqwwwt
    xCode 128    xvariable  xyes x'E'     x'e'     xform code x2:3:4 x
    x            x          x    x        x        x0 to 127  x      x
    uwwwwwwqwwwwwqwwqwwwwqwwwwqwwwwwqwwwt
    xEAN-13      x13 digis  xyes x'F'     x'f'     x09      x2:3:4 x
    x            x(12+1)    x    x        x        x          x      x
    uwwwwwwqwwwwwqwwqwwwwqwwwwqwwwwwqwwwt
    xEAN-8       x8 digis   xyes x'G'     x'g'     x09      x2:3:4 x
    x            x(7+1)     x    x        x        x          x      x
    uwwwwwwqwwwwwqwwqwwwwqwwwwqwwwwwqwwwt
    xHBIC        xvariable  xyes x'H'     x'h'     x09,AZ,x2:1 x
    x            x          x    x        x        x$%*+-./andx3:1   x
    x            x          x    x        x        xspace     x      x
    uwwwwwwqwwwwwqwwqwwwwqwwwwqwwwwwqwwwt
    xCode bar    xat least 3xno  x'I'     x'i'     x09,AZ,x2:1 x
    x            xcharactersx    x        x        x$+-.and / x3:1   x
    uwwwwwwqwwwwwqwwqwwwwqwwwwqwwwwwqwwwt
    xInterleaved xvariable  xyes x'J'     x'j'     x09      x2:1 x
    x2 of 5 with |wwwwwt    x        x        x          x3:1   x
    xa modulo 10 checksum    x    x        x        x          x      x
    uwwwwwwswwwwwqwwqwwwwqwwwwqwwwwwqwwwt
    xPlessey     x114     xyes x'K'     x'k'     x09      x2:1 x
    x            xdigits    x    x        x        x          x3:1   x
    uwwwwwwqwwwwwqwwqwwwwqwwwwqwwwwwqwwwt
    xInterleaved xvariable  xyes x'L'     x'l'     x09      x2:1 x
    x2 of 5 with |wwwwwrwwrwwwwrwwwwt          x3:1   x
    xa modulo 10 checksum and shipping bearer bars     x          x      x
    uwwwwwwswwwwwswwswwwwswwwwqwwwwwqwwwt
    xUPC2        x2 digits  xno  x'M'     x'm'     x09      x2:3:4 x
    uwwwwwwqwwwwwqwwqwwwwqwwwwqwwwwwqwwwt
    xUPC5        x5 digits  xno  x'N'     x'n'     x09      x2:3:4 x
    uwwwwwwqwwwwwqwwqwwwwqwwwwqwwwwwqwwwt
    xCode 93     xvariable  xno  x'O'     x'o'     x09,AZ,x2:3:4 x
    x            x          x    x        x        x$%*+-./andx      x
    x            x          x    x        x        xspace     x      x
    uwwwwwwqwwwwwqwwqwwwwqwwwwqwwwwwqwwwt
    xPostnet     xvariable  xyes xnot     x'p'     x09      x      x
    x            x          x    xdefined x        x          x      x
    uwwwwwwqwwwwwqwwqwwwwqwwwwqwwwwwqwwwt
    xUCC/EAN Codex20 digits xYES x'Q'     x'q'     x09      x2:3:4 x
    x128         x(19+1)    x    x        x        x          x      x
    uwwwwwwqwwwwwqwwqwwwwqwwwwqwwwwwqwwwt
    xUCC/EAN Codex18 digits xYES x'R'     x'r'     x09      x2:3:4 x
    x128 K-MART  x          x    x        x        x          x      x
    uwwwwwwqwwwwwqwwqwwwwqwwwwqwwwwwqwwwt
    xMatrix 2 5  xvariable  xno  x'S'     x's'     x0~9       x2:1~  x
    x            x          x    x        x        x          x3:1   x
    uwwwwwwqwwwwwqwwqwwwwqwwwwqwwwwwqwwwt
    xTelepen     xvariable  xYES x'T'     x't'     xform code x2:3:4 x
    x            x          x    x        x        x0 to 127  x      x
    uwwwwwwqwwwwwqwwqwwwwqwwwwqwwwwwqwwwt
    xFIM         x1         xno  xnot     x'v'     xA,B,C and x      x
    x            xcharacter x    xdefined x        xD         x      x
    |wwwwwwrwwwwwrwwrwwwwrwwwwrwwwwwrwww}
                               ƵG ARGOX Programmer Manual  6376 C
              int    narrow;             NARROW bar eסAd 024C
              int    width;              WIDE bar eסAd 024C
              int    height;             Bar code סAd 0999C
              char   mode;               [\ApUG
                                           
                                           xmodex     \໡     x
                                           
                                           x A  xƦr۰ʼW[x
                                           uwwqwwwwwwwwwt
                                           x B  xr۰ʼW[x
                                           uwwqwwwwwwwwwt
                                           x C  xƦr۰ʴָx
                                           uwwqwwwwwwwwwt
                                           x D  xr۰ʴָx
                                           uwwqwwwwwwwwwt
                                           x N  xL\      x
                                           |wwrwwwwwwwww}
              int    numeric;            ۰ʼW[δָqCdG099
                                           [\ɦ쥲sbC
              LPTSTR    data;            ƦrC

    Ǧ^ȡG  0    -> OK.
              Reference AW-Error.txt file.

      dҡG  A_Prn_Barcode(150,20,4,'A',0,0,20,'b',1,"ABCD");

    @G  o A_Prn_Barcode ƥiHCLX@ӯSw BarcodeC

    *******************************************************************************
    A_Prn_Text()
    ===============================================================================
      \G  LX@rC

      ykG  int A_Prn_Text(int x,int y,int ori,int font,int type,int hor_factor,
                           int ver_factor,char mode,int numeric,LPCTSTR data);

      ѼơG  int    x;                  X yСC
              int    y;                  Y yСC
              int    ori;                CLVwA1:0X  B2:90XB
                                                         3:180XB4:270X
              int    font;               rApUG
                                         ƵGd\r ARGOX User's Manual
              int    type;               UG
                           
                           xfont          xtypex        r          x
                           
                           x0,1,2,3,4,5,6,x0   x08 Lxsr   x
                           x7,8           x    x                          x
                           uwwwwwwwqwwqwwwwwwwwwwwwwt
                           x9             x07xASD smooth fonts.         x
                           x              x    x0:4points, 1:6points,     x
                           x              x    x2:8points, 3:10points,    x
                           x              x    x4:12points,5:14points,    x
                           x              x    x6:18points.               x
                           uwwwwwwwqwwqwwwwwwwwwwwwwt
                           x11            x07xCourier fonts,            x
                           x              x    x(0 represents symbol set) x
                           x              x    x0:Roman-8,  1:ECMA-94,    x
                           x              x    x2:PC set,   3:PC set A,   x
                           x              x    x4:PC set B, 5:Legal,      x
                           x              x    x6:Greek,    7:Russian.    x
                           uwwwwwwwqwwqwwwwwwwwwwwwwt
                           x12            x0   xŪrdr            x
                           |wwwwwwwrwwrwwwwwwwwwwwww}
              int    hor_factor;         jҡAdG024,0GPrinter defuaultC
              int    ver_factor;         jҡAdG024,0GPrinter defuaultC
              char   mode;               [\ApUG
                                           
                                           xmodex     \໡     x
                                           
                                           x A  xƦr۰ʼW[x
                                           uwwqwwwwwwwwwt
                                           x B  xr۰ʼW[x
                                           uwwqwwwwwwwwwt
                                           x C  xƦr۰ʴָx
                                           uwwqwwwwwwwwwt
                                           x D  xr۰ʴָx
                                           uwwqwwwwwwwwwt
                                           x M  x譱ϮgҦ      x
                                           uwwqwwwwwwwwwt
                                           x N  xL\      x
                                           |wwrwwwwwwwww}
              int    numeric;            ۰ʼW[δָqCdG099
                                           [\ɦ쥲sbC
              LPCTSTR   data;            ƦrC

    Ǧ^ȡG  0    -> OK.
              Reference AW-Error.txt file.

      dҡG  A_Prn_Text(310,35,1,9,0,1,1,'n',2,"PPLA COMMAND");

    @G  o A_Prn_Text ƥiHCLX@rC

    *******************************************************************************
    A_Prn_Text_Chinese()
    ===============================================================================
      \G  LX@rAϥΤIx}rɮ (16*15  24*24)C

      ykG  int A_Prn_Text_Chinese(int x,int y,int fonttype,LPCTSTR id_name,
                                   LPCTSTR data,int mem_mode);
      
      ѼơG  int      x;                X yСC(dot)
              int      y;                Y yСC(dot)
              int      fonttype;         x}rܡC
                                           0 -> 16*15B1 -> 24*24C
              LPCTSTR  id_name;          @ѧOW٦sLAH᪽
                                           ϥ Load_Pcx() YiN¹ϩIsXӡC
              LPCTSTR  data;             reC
              int      mem_mode;         OҦA 1 => RAM
                                                        2 => Flash Memory
        
    Ǧ^ȡG  0    -> OK.
              Reference AW-Error.txt file.

      dҡG  A_Open_ChineseFont("C:\\ET3");
              A_Prn_Text_Chinese(100, 100, 0,"A01","aQqeϢѢҢ", 1);

    @G  o A_Prn_Text_Chinese ƥiHLX@rAϥΤIx}rɮ
              (16*15  24*24)C
              w Window's Driver for Dr.200 or Dr.300A@Hq driver ]wA
              Lw]LAYdefault printer O Dr.200  Dr.300 A
              {۰ʷjM Windows AO_ Dr.200  Dr.300Ab̧ǨϥΡC

    *******************************************************************************
    A_Prn_Text_TrueType()
	A_Prn_Text_TrueType_W()
    ===============================================================================
      \G  LX@ True Type Font rC

      ykG  int A_Prn_Text_TrueType(int x, int y, int FSize, LPCTSTR FType,
						int Fspin, int FWeight, int FItalic, int FUnline,
						int FStrikeOut, LPCTSTR id_name, LPCTSTR data, int mem_mode);

              int A_Prn_Text_TrueType_W(int x, int y, int FHeight, int FWidth,
						LPCTSTR FType,	int Fspin, int FWeight, int FItalic,
						int FUnline, int FStrikeOut, LPCTSTR id_name, LPCTSTR data,
						int mem_mode);

      ѼơG  int      x;                X yСC
              int      y;                Y yСCƵG1 dot = 0.125 mmC
              int      FSize;            rؤoA쬰I(dot)C
											FSize = (dpi * point) / 72.
			  int      FHeight;          rסA쬰I(dot)C
											FHeight = (dpi * point) / 72.
              int      FWidth;           reסA쬰I(dot)C
											FWidth = (dpi * point) / 72.
              LPCTSTR  FType;            TrueType font rW١C
              int      Fspin;            TrueType font rC
                                           1 -> 0, 2 -> 90, 3 -> 180, 4 -> 270
              int      FWeight;          TrueType font rʲӡC
                                           0 and NULL and 400 -> 400 зǡB
                                           100 -> D`ӡB200 -> ӡB
                                           300 ->     B500 -> B
                                           600 -> b  B700 ->   B
                                           800 -> S  B900 -> C
              int      FItalic;          TrueType font rC
                                           0 -> FALSEB1 -> TRUEC
              int      FUnline;          TrueType font r[uC
                                           0 -> FALSEB1 -> TRUEC
              int      FStrikeOut;       TrueType font r[RuC
                                           0 -> FALSEB1 -> TRUEC
              LPCTSTR  id_name;          @ѧOW٦sLAH᪽
                                           ϥ Load_Pcx() YiN¹ϩIsXӡC
              LPCTSTR  data;             reC
              int      mem_mode;         OҦA 1 => RAM
                                                        2 => Flash Memory
        
    Ǧ^ȡG  0    -> OK.
              Reference AW-Error.txt file.

      dҡG  A_Prn_Text_TrueType(0,0,40,"رdɫFy",1,400,0,0,0,"AA","ʺAƮw",1);
			  A_Prn_Text_TrueType_W(0,0,40,50,"رdɫFy",1,400,0,0,0,"AA","ʺAƮw",1);

    @G  o A_Prn_Text_TrueType ƥiHLX@ True Type Font rA
              w Window's Driver for Dr.200 or Dr.300A@Hq driver ]wA
              Lw]LAYdefault printer O Dr.200  Dr.300 A
              {۰ʷjM Windows AO_ Dr.200  Dr.300Ab̧ǨϥΡC

    *******************************************************************************
    A_Set_Backfeed()
    ===============================================================================
      \G  Ҧ^mC

      ykG  int A_Set_Backfeed(int back);

      ѼơG  int    back;               mAdG220999C
                                           Lw220Ap220YL@ΡC

    Ǧ^ȡG  0    -> OK.
              Reference AW-Error.txt file.

      dҡG  A_Set_Backfeed(220);

    @G  o A_Set_Backfeed ƥiHϦCLAR@pqүȡAnϥΪ
              [LXGήeҡCMA|bLU@iɡAh^AI
              AALU@iA@LƱiɡAubĤ@i~|^YC

	*******************************************************************************
    A_Set_BMPSave()
    ===============================================================================
      \G  xsvɡC

      ykG  int A_Set_BMPSave(int nSave, char *pstrBMPFName);

      ѼơG  int    nSave;               # 1 -> xs
											0 -> xs

              char   *pstrBMPFName;		  # xsɪW

    Ǧ^ȡG  0    -> OK.
              Reference AW-Error.txt file.

      dҡG  A_Set_BMPSave(1, "C:\TempBMP.bmp");

    @G  o A_Set_BMPSave ơAiHMwO_xsvɡC

    *******************************************************************************
    A_Set_Cutting()
    ===============================================================================
      \G  ]wwLXXiM@C

      ykG  int A_Set_Cutting(int cutting);

      ѼơG  int    cutting;            wLXXiM@A
                                           dG09999C

    Ǧ^ȡG  0    -> OK.
              Reference AW-Error.txt file.

      dҡG  A_Set_Cutting(12);

    @G  o A_Set_Cutting ƥuMJɡA~|ʧ@CwMbLXX
              i@LXCC

    *******************************************************************************
    A_Set_Darkness()
    ===============================================================================
      \G  ]wPYCLסC

      ykG  int A_Set_Darkness(int heat);

      ѼơG  int    heat;               ]wPYCLסAdG020C
                                           w]ȡG10

    Ǧ^ȡG  0    -> OK.
              Reference AW-Error.txt file.

      dҡG  A_Set_Darkness(12);

    @G  o A_Set_Darkness Ʊv@HAQonLX~AA
              Ҽ{@Ǧ]A paper mediaBribbon types(wax,semi-resin M
              resin)Mimage pattern itselfC

	*******************************************************************************
    A_Set_DebugDialog()
    ===============================================================================
      \G  ]wҡC

      ykG  int A_Set_DebugDialog(int nEnable);

      ѼơG  int    nEnable;          # 1 -> ҭP
                                         0 -> 

    Ǧ^ȡG  0    -> OK.
              Reference AW-Error.txt file.

      dҡG  A_Set_DebugDialog(1);

    @G  o A_Set_DebugDialog ơA]wҡAF|^ǿ~XA]|q
			  XĵܰTܮإ~C

    *******************************************************************************
    A_Set_Feed()
    ===============================================================================
      \G  ]wүȰeXtסC

      ykG  int A_Set_Feed(char rate);

      ѼơG  char   rate;               wүȰeXtסApUG(AK)
                     
                     xratex t   xratex t   xxLxt׽dx
                     
                     x A  x1.0 ips x G  x4.0 ips xxOS-214/204x  AE  x
                     uwwqwwwwqwwqwwwwtuwwwwwqwwwwt
                     x B  x1.5 ips x H  x4.5 ips xx  OS-314  x  AC  x
                     uwwqwwwwqwwqwwwwtuwwwwwqwwwwt
                     x C  x2.0 ips x I  x5.0 ips xx  X-2000  x  AI  x
                     uwwqwwwwqwwqwwwwtuwwwwwqwwwwt
                     x D  x2.5 ips x J  x5.5 ips xx  X-3000  x  AK  x
                     uwwqwwwwqwwqwwwwt|wwwwwrwwww}
                     x E  x3.0 ips x K  x6.0 ips x
                     uwwqwwwwqwwqwwwwt
                     x F  x3.5 ips x    x        x
                     |wwrwwwwrwwrwwww}

    Ǧ^ȡG  0    -> OK.
              Reference AW-Error.txt file.

      dҡG  A_Set_Feed('E');

    @G  o A_Set_Feed Ƴ]wүȰeXtסCCAU FEED 
              eƮɡALFN|̦]wȪt׹BC

    *******************************************************************************
    A_Set_Form()
    ===============================================================================
      \G  xsæCL FORM ()C

      ykG  int A_Set_Form(LPCTSTR formfile,LPCTSTR form_name,int mem_mode);

      ѼơG  LPCTSTR   formfile;        ɮצW١Ait|C
                                           ɪӷAϥ Drive Disk 
                                           dos\ppla\demo.bat ӳ]woC
              LPCTSTR   form_name;       W١AΨӦsbLAForm Х
                                           W١A Print_Form() ҿJW١C
              int       mem_mode;        OҦA 1 => RAM
                                                        2 => Flash Memory
    Ǧ^ȡG  0    -> OK.
              Reference AW-Error.txt file.

      dҡG  A_Set_Form("demo.prn","demo",1);

    @G  o A_Set_Form xsæCL FORM ()CbϥγoӨƮɡA
              b A_Print_FormƤeCϥΦƮɡAN Print_Form()C
    
    *******************************************************************************
    A_Set_Margin()
    ===============================================================================
      \G  ]w}lCLmMťժŶC

      ykG  int A_Set_Margin(int position,int margin);

      ѼơG  int    position;           ]w}lmANP 220 ۥ[C
              int    margin;             ]wťժŶAdG09999C
                                            100 = @^TC

    Ǧ^ȡG  0    -> OK.
              Reference AW-Error.txt file.

      dҡG  A_Set_Margin(100,100);

    @G  o A_Set_Margin Ƴ]w}lCLmMťժŶC position
              ѼơAbLw]ȬO 220AJƭȮɨƱN۰ʻP 220 ۥ[
              GAeJLCpGAϥΦƫAӪϤ|첾Υk
              ʦLXC

    *******************************************************************************
    A_Set_Prncomport()
    ===============================================================================
      \G  ]wLǦCC

      ykG  int A_Set_Prncomport(int baud,int parity,int data,int stop);

      ѼơG  int    baud;               jvApUG
                                            0 -> 9600, 1 -> 2400
                                            2 -> 2400, 3 -> 19200
                                            4 -> 4800, 5 -> 38400
                                            6 -> 2400, 7 -> 9600
              int    parity;             ParityApUG
                                            0 -> none parity
                                            1 -> even parity
                                            2 -> odd  parity
              int    data;               Data bit number:
                                            7 -> 7-bit data
                                            8 -> 8-bit data
              int    stop;               Stop bit number:
                                            1 -> 1 stop bit
                                            2 -> 2 stop bits

    Ǧ^ȡG  0    -> OK.
              Reference AW-Error.txt file.

      dҡG  A_Set_Prncomport(0, 0, 8, 1);

    @G  o A_Set_Prncomport Ʒ|]wLǦC]wȡAӧܦL
              P PC ǦC]wȡApGPhLkP PC sCƥb
              Print_Out eCWC

    *******************************************************************************
    A_Set_Prncomport_PC()
    ===============================================================================
      \G  ]w PC ǦCC

      ykG  int A_Set_Prncomport_PC(int nBaudRate, int nByteSize, int nParity,
								int nStopBits, int nDsr, int nCts, int nXonXoff);

      ѼơG  int    nBaudRate;          jvApUG
                                            1 -> 110     9 -> 19200 
                                            2 -> 300    10 -> 38400 
                                            3 -> 600    11 -> 56000 
                                            4 -> 1200   12 -> 57600 
                                            5 -> 2400   13 -> 115200 
                                            6 -> 4800   14 -> 128000 
                                            7 -> 9600   15 -> 256000 
                                            8 -> 14400   0 -> 9600

              int    nByteSize;          Data bit number:
                                            0 -> 8-bit data
                                            7 -> 7-bit data
                                            8 -> 8-bit data

              int    nParity;            ParityApUG
                                            0 -> none parity
                                            1 -> even parity
                                            2 -> odd  parity
              int    nStopBits;          Stop bit number:
                                            0 -> 1 stop bit
                                            1 -> 1 stop bit
                                            2 -> 2 stop bits
              int    nDsr;               Setup hardware flow control
                                            1 -> DTR CONTROL HANDSHAKE;
                                            0 -> DTR CONTROL ENABLE;

              int    nCts;               Setup hardware flow control
                                            1 -> RTS CONTROL HANDSHAKE;
                                            0 -> RTS CONTROL ENABLE;

              int    nXonXoff;           Setup software flow control
                                            0 -> Enable;
                                            1 -> Disable;
    Ǧ^ȡG  0    -> OK.
              Reference AW-Error.txt file.

      dҡG  A_Set_Prncomport_PC(0, 0, 0, 0, 1, 1, 1);

    @G  o A_Set_Prncomport_PC Ʒ|]w PC ǦC]wȡAӧ PC ۦP
              LǦC]wȡApGPhLkPLsCƥb
              A_Print_Out eC
              
    *******************************************************************************
    A_Set_Sensor_Mode()
    ===============================================================================
      \G  ]w SENSOR ҦγsȼҦC

      ykG  int A_Set_Sensor_Mode(char type,int continuous);

      ѼơG  char   type;               ҦܡApUG
              int    continuous;         iҪסCsȼҦɡA~
                                           ]wApUG
                               
                               xtypexcontinuousxSENSOR Ҧ               x
                               
                               x e  x0         xedge sensor (w])      x
                               uwwqwwwwwqwwwwwwwwwwwwwt
                               x r  x0         xreflective sensor for gap x
                               uwwqwwwwwqwwwwwwwwwwwwwt
                               x c  x09999   xsȼҦ                x
                               |wwrwwwwwrwwwwwwwwwwwww}
                                 100 = @^TC

    Ǧ^ȡG  0    -> OK.
              Reference AW-Error.txt file.

      dҡG  A_Set_Sensor_Mode('c',300);

    @G  o A_Set_Sensor_Mode Ƴ]w "e" ɡAh sensor HzҴC
              覡Aӧ gapC]w "r" ɡAh sensor HϮgҴC覡A
               gapCӷOsҦɡAL| gap  markA paper
              sensor ʧ@C

    *******************************************************************************
    A_Set_Speed()
    ===============================================================================
      \G  ]wCLtסC

      ykG  int A_Set_Speed(char speed);

      ѼơG  char   speed;              ]wCLtסApUG(AK)
                     
                     xratex t   xratex t   xxLxt׽dx
                     
                     x A  x1.0 ips x G  x4.0 ips xxOS-214/204x  AE  x
                     uwwqwwwwqwwqwwwwtuwwwwwqwwwwt
                     x B  x1.5 ips x H  x4.5 ips xx  OS-314  x  AC  x
                     uwwqwwwwqwwqwwwwtuwwwwwqwwwwt
                     x C  x2.0 ips x I  x5.0 ips xx  X-2000  x  AI  x
                     uwwqwwwwqwwqwwwwtuwwwwwqwwwwt
                     x D  x2.5 ips x J  x5.5 ips xx  X-3000  x  AL  x
                     uwwqwwwwqwwqwwwwt|wwwwwrwwww}
                     x E  x3.0 ips x K  x6.0 ips x
                     uwwqwwwwqwwqwwwwt
                     x F  x3.5 ips x  L x 7.0 ips x
                     |wwrwwwwrwwrwwww}

    Ǧ^ȡG  0    -> OK.
              Reference AW-Error.txt file.

      dҡG  A_Set_Speed('E');

    @G  o A_Set_Speed ƬCLtסC

    *******************************************************************************
    A_Set_Syssetting()
    ===============================================================================
      \G  ]wLҦBҰ Cutter  PeelB]wҳ̪סB slash
              zero  normal zeroB]wCL@iȰ@C

      ykG  int A_Set_Syssetting(int transfer,int cut_peel,int length,int zero,
                                   int pause);

      ѼơG  int    transfer;           ]wLҦApUG
                                           
                                           xtransferxLҦx
                                           
                                           x   0    xʧ@  x
                                           uwwwwqwwwwt
                                           x   1    xP    x
                                           uwwwwqwwwwt
                                           x   2    x    x
                                           |wwwwrwwww}
              int    cut_peel;           Ұ Cutter  PeelApUG
                                           
                                           xcut_peelxgҦ            x
                                           
                                           x   9    xʧ@              x
                                           uwwwwqwwwwwwwwwwt
                                           x   0    xS Cutter M Peel x
                                           uwwwwqwwwwwwwwwwt
                                           x   1    xҰ Cutter         x
                                           uwwwwqwwwwwwwwwwt
                                           x   4    xҰ Peel           x
                                           |wwwwrwwwwwwwwww}
              int    length;             ]wҳ̪סAdG11200
                                           CA] 0 ɡAhʧ@C
                                                               100 = @^TC
              int    zero;                slash zero  normal zeroC
                                           '0'hʧ@C'1'ܬ normal zeroC
              int    pause;              ]wCL@iȰ@ApUG
                                           
                                           xpause x  \  x
                                           
                                           x  0   xʧ@  x
                                           uwwwqwwwwt
                                           x  1   x]wȰx
                                           uwwwqwwwwt
                                           x  2   xȰx
                                           |wwwrwwww}

    Ǧ^ȡG  0    -> OK.
              Reference AW-Error.txt file.
                          
      dҡG  A_Set_Syssetting(2,4,1200,1,2);

    @G  o A_Set_Syssetting ƬntmC

    *******************************************************************************
    A_Set_Unit()
    ===============================================================================
      \G  ]w׶q쬰^TΤءC

      ykG  int A_Set_Unit(char unit);

      ѼơG  char   unit;               ׶qApUG
                                                             xunitx׶qx
                                                             
                                                             x m  xآx
                                                             uwwqwwt
                                                             x n  x^Tx
                                                             |wwrww}
    Ǧ^ȡG  0    -> OK.
              Reference AW-Error.txt file.

      dҡG  A_Set_Unit('n');

    @G  o A_Set_Unit Ƴ]w׶q쬰^TΤءC

    ***************************************************************************
    A_Set_Gap()
    ===============================================================================
      \G  ]w Gap eסC

      ykG  int A_Set_Gap(int gap);

      ѼơG  int   gap;               d: 0  36 mmC

    Ǧ^ȡG  0    -> OK.
              Reference AW-Error.txt file.

      dҡG  A_Set_Gap(0);

    @G  o A_Set_Unit ƥi]w Gap eסC

    ***************************************************************************
    A_Set_Logic()
    ===============================================================================
      \G  ]wϥե\C

      ykG  int A_Set_Logic(int logic);

      ѼơG  int   logic;		0:Lw]ȡC
					1:|ϥ
					2:|ϥ

    Ǧ^ȡG  0    -> OK.
              Reference AW-Error.txt file.

      dҡG  A_Set_Logic(1);

    @G  o A_Set_Logic ƥi]wϥե\C

    ***************************************************************************
    A_Set_ProcessDlg()
    ===============================================================================
      \G  }ҩi׹ܮءC

      ykG  int A_Set_ProcessDlg(int nShow);

      ѼơG  int   nShow;		0:i׹ܮءC
					1:}Ҷi׹ܮ

    Ǧ^ȡG  0    -> OK.
              Reference AW-Error.txt file.

      dҡG  A_Set_ProcessDlg(1);

    @G  o A_Set_ProcessDlg ƥi}i׹ܮءC

    ***************************************************************************
	A_Set_LabelVer()
    ===============================================================================
      \G  ]wȱieסC(For R400)

      ykG  int A_Set_LabelVer(int centiInch);

      ѼơG  int   centiInch;		ȱieסC
					 : 0.01 ^TC

    Ǧ^ȡG  0    -> OK.
              Reference AW-Error.txt file.

      dҡG  A_Set_LabelVer(400);

    @G  o A_Set_LabelVer ƥi]w R400 ȱieסC
    *******************************************************************************